package com.example.administrator.myapplication.callback;


import com.example.administrator.myapplication.activity.albumActivity.bean.programEntity.ProgramEntity;
import com.example.administrator.myapplication.activity.anchorSecondActivity.bean.AnchorSecondAvtivityAblumEntity;
import com.example.administrator.myapplication.activity.anchorSecondActivity.bean.AnchorSecondAvtivityEntity;
import com.example.administrator.myapplication.activity.anchorSecondActivity.bean.AnchorSecondAvtivityVoiceEntity;
import com.example.administrator.myapplication.activity.billboardSecondActivity.bean.BillboardSecondEntity.BillboardSecondEntity;
import com.example.administrator.myapplication.activity.palyActivity.bean.PlayEntity;
import com.example.administrator.myapplication.download.bean.hotentity.HotCommentEntity;
import com.example.administrator.myapplication.find.anchor.bean.anchorentity.AnchorEntity;
import com.example.administrator.myapplication.find.assortment.bean.assortmentEntity.AssortmentEntity;
import com.example.administrator.myapplication.find.billboard.bean.BillBoardEntity.BillBoardEntity;
import com.example.administrator.myapplication.find.assortment.bean.bottomEntity.BottomEntity;
import com.example.administrator.myapplication.find.recommend.bean.recommendEntity.RecommendEntity;
import com.example.administrator.myapplication.find.recommend.bean.recommendhotEntity.HotRecommendEntity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017.1.25.
 */

public interface XmlyService {
    //主播  http://mobile.ximalaya.com/m/explore_user_index?device=android&page=1
    @GET("m/explore_user_index?device=android")
    Call<AnchorEntity> getAnchorEntity(@Query("page") int page);
    //榜单 http://mobile.ximalaya.com/mobile/discovery/v2/rankingList/group?channel=and-a1&device=android&includeActivity=true&includeSpecial=true&scale=2&version=4.3.98
    @GET("mobile/discovery/v2/rankingList/group?channel=and-a1&device=android&includeActivity=true&includeSpecial=true&scale=2&version=4.3.98")
    Call<BillBoardEntity> getBillBoardEntity();
    //分类 http://mobile.ximalaya.com/mobile/discovery/v1/categories?channel=and-f6&device=android&picVersion=13&scale=2
    @GET("mobile/discovery/v1/categories?channel=and-f6&device=android&picVersion=13&scale=2")
    Call<AssortmentEntity> getAssortmentEntity();
    ////分类底部的viewpager http://adse.ximalaya.com/ting?device=android&name=cata_index_banner&network=wifi&operator=0&version=5.4.3
    @GET("ting?device=android&name=cata_index_banner&network=wifi&operator=0&version=5.4.3")
    Call<BottomEntity> getBottomEntity();
    //推荐 foctos http://mobile.ximalaya.com/mobile/discovery/v3/recommends?channel=and-f6&device=android&includeActivity=true&includeSpecial=true&scale=2&version=5.4.3
    @GET("mobile/discovery/v3/recommends?channel=and-f6&device=android&includeActivity=true&includeSpecial=true&scale=2&version=5.4.3")
    Call<RecommendEntity> getRecommendEntity();
    //发现  听资讯开始  http://mobile.ximalaya.com/mobile/discovery/v1/recommend/hotAndGuess?device=android
    @GET("mobile/discovery/v1/recommend/hotAndGuess?device=android")
    Call<HotRecommendEntity> getHotRecommendEntity();
    ////发现  听资讯  第二界面   http://mobile.ximalaya.com/mobile/v1/album?albumId=2762436&pageSize=20
    @GET("mobile/v1/album?")
    Call<ProgramEntity> getProgramEntity(@Query("albumId") int albumId,@Query("pageSize") int pageSize);
    //榜单 第二界面 http://mobile.ximalaya.com/mobile/discovery/v2/rankingList/track?device=android&key=1_2_ranking:track:scoreByTime:1:2&pageId=1&pageSize=20&scale=2
    @GET("mobile/discovery/v2/rankingList/track?device=android&scale=2")
    Call<BillboardSecondEntity> getBillboardSecondEntity(@Query("key") String key,@Query("pageId") int pageId,@Query("pageSize") int pageSize);
    //榜单  第三界面  http://mobile.ximalaya.com/v1/track/baseInfo?device=android&trackId=30433016&trackUid=1266964
    @GET("v1/track/baseInfo?device=android")
    Call<PlayEntity> getPlayEntity(@Query("trackId") String trackId,@Query("trackUid") String trackUid);

     //主播  第界面   +uid
//    http://mobile.ximalaya.com/mobile/others/ca/homePage?device=android&toUid=71241360
    @GET("mobile/others/ca/homePage?device=android")
    Call<AnchorSecondAvtivityEntity> getAnchorSecondAvtivityEntity(@Query("toUid") String uid);
//    发布的声音   http://mobile.ximalaya.com/mobile/v1/artist/tracks?device=android&pageId=1&toUid=71241360
     @GET("mobile/v1/artist/tracks?device=android")
     Call<AnchorSecondAvtivityVoiceEntity> getAnchorSecondAvtivityVoiceEntity(@Query("pageId") int pageId,@Query("toUid") String uid);
    //    发布的专辑   http://mobile.ximalaya.com/mobile/v1/artist/albums?toUid=71241360
    @GET("mobile/v1/artist/albums?")
    Call<AnchorSecondAvtivityAblumEntity> getAnchorSecondAvtivityAblumEntity(@Query("toUid") String uid);
   //下载中 最火、最热、经典  http://mobile.ximalaya.com/mobile/discovery/v1/category/album?calcDimension=hot&categoryId=0&device=android&pageId=1&pageSize=20&status=0&tagName=
   @GET("mobile/discovery/v1/category/album?categoryId=0&device=android&pageId=1&pageSize=20&status=0&tagName=")
    Call<HotCommentEntity> getHotCommentEntity(@Query("calcDimension") String calcDimension);
}
